﻿using MiniApiProject.Models;

namespace MiniApiProject.Services;

public interface IBookService
{
	Task<bool> InsertBookAsync(Book book);
	Task<IEnumerable<Book>> GetBooksAsync();
	Task<Book?> GetBookByIsbnAsync(string isbn);
	Task<IEnumerable<Book>> GetBooksByTitleAsync(string title);
	Task<bool> UpdateBookAsync(Book book);
	Task<bool> DeleteBookAsync(string isbn);
}
